import {request} from "umi";
// 获取列表
export  function getUserList(){
    return request(`/sys/user/page?t=${new Date().getTime()}&current=1&size=10`)
}
// 搜索
export  function UserSearch(data:string){
    return request(`/sys/user/page?t=${new Date().getTime()}&current=1&size=10&username=${data}`)
}
// 删除
export function UserDelete(id:string[]){
    console.log("SysUser id",id);
    
    return request(`/sys/user`,{
        method:"DELETE",
        data:id
    })
}